package com.qujia.station.mapper;


import com.qujia.station.domain.Repository;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RepositoryMapper {
    int deleteByPrimaryKey(Long repositoryId);

    int insert(Repository record);

    int insertSelective(Repository record);

    Repository selectByPrimaryKey(Long repositoryId);

    int updateByPrimaryKeySelective(Repository record);

    int updateByPrimaryKey(Repository record);

    Repository selectByRepositoryCode(@Param("repositoryCode") String repositoryCode);

    List<Repository> selectRepositoryList(Repository repository);

    Repository selectOneRepository(Repository repository);

    int deleteRepository(@Param("repositoryIdList") List<Long> repositoryIdList);

}